#!/bin/bash -e

function info() {
echo Usage: `basename $0` '(in.vcf)s'
exit 65
}

while getopts ":p:l:mgh" opts
do
case $opts in
	m) somatic=T;;
	g) single_cell=T;;
	l) interval=$OPTARG;;
	p) out_prefix=$OPTARG;;
	\?) info;;
esac
done
shift $(($OPTIND - 1))

test $# -lt 1 && info


. /mnt/ilustre/app/medical/tools/.var

for vcf; do

vcf1=`basename $vcf .vcf`

impact_anno.sh -p$vcf1 $vcf &

done

wait

. $cmd_done